import java.util.Scanner;

public class java14 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        int i =sc.nextInt();
        if(i%4==0&&i%400==0||i%100!=0){
            System.out.println("是闰年");
        }else{
            System.out.println("是平年");
        }

    }
}
